package com.woniuxy.lab.woniu_lab.service.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;


@ApiModel("实验对象")
@Data
public class ExperDto {

    /**
     *靶场ID
     */
    @ApiModelProperty(value = "实验ID", example = "1")
    private Integer id;

    /**
     * 难度(low/middle/high)
     */
    @ApiModelProperty(value = "难度 [low/middle/high]", example = "low")
    private String level;

    /**
     * 所属分类(扫描类、文件类、SQL注入类、XSS类、CSRF类、SSRF类、代码执行、命令执行、文件上传类、文件包含类、反序列化类、Redis类、内网渗透类)
     */
    @ApiModelProperty(value = "所属分类 [扫描类/文件类/SQL注入类/XSS类/CSRF类/SSRF类/代码执行/命令执行/文件上传类/文件包含类/反序列化类/Redis类/内网渗透类]", example = "SQL注入类")
    private String rangeType;

    /**
     * 定价(蜗牛币)
     */
    @ApiModelProperty(value = "定价", example = "20.00")
    private BigDecimal price;

    /**
     * 积分
     */
    @ApiModelProperty(value = "积分", example = "5")
    private Integer score;

    /**
     * 实验类型ctf/exper
     */
    @ApiModelProperty(value = "实验类型 [ctf/exper]", example = "ctf")
    private String ctfOrExper;

    /**
     * 实验名称
     */
    @ApiModelProperty(value = "实验名称", example = "SQL注入实验")
    private String experName;

    /**
     * 实验封面地址
     */
    @ApiModelProperty(value = "实验封面地址", example = "https://www.woniuxy.com/static/woniuopen/img/woniubanner-2.png")
    private String pic;


}
